package com.tuoren.forward.constant;

public enum CodeMsg {
	
	SUCCESS(0,"操作成功"),
	FAILURE(1,"操作失败"),
	EXCEPTION(2,"系统繁忙"),
	NOLOGIN(3,"请登录"),
	RELOGIN(4,"登录超时,重新登录"),
	NORIGHT(5,"权限不足");
	
	private Integer code;
	private String msg;
	
	CodeMsg(Integer code,String msg) {
        this.code = code;
        this.msg = msg;
    }
	
	public Integer getCode() {
		return code;
	}
	
	public String getMsg() {
		return msg;
	}
}
